

    \filetitle{zerodb}{Create model-specific zero-deviation database}{model/zerodb}

	\paragraph{Syntax}

Input arguments marked with a \texttt{\textasciitilde{}} (tilde) sign
may be omitted.

\begin{verbatim}
[D,IsDev] = zerodb(M,Range,~NCol,...)
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\item
  \texttt{M} {[} model {]} - Model object for which the zero database
  will be created.
\item
  \texttt{Range} {[} numeric {]} - Intended simulation range; the zero
  database will be created on a range that also automatically includes
  all the necessary lags.
\item
  \texttt{\textasciitilde{}NCol} {[} numeric \textbar{}
  \emph{\texttt{1}} {]} - Number of columns created in the time series
  object for each variable; the input argument \texttt{NCol} can be only
  used on models with one parameterisation; may be omitted.
\end{itemize}

\paragraph{Option}

\begin{itemize}
\tightlist
\item
  \texttt{\textquotesingle{}randFunc=\textquotesingle{}} {[}
  \texttt{@lhsnorm} \textbar{} \texttt{@randn} \textbar{}
  \emph{\texttt{@zeros}} {]} - Function used to generate random draws
  for shock time series; if \texttt{@zeros}, the shocks will simply be
  filled with zeros; the random numbers will be adjusted by the
  respective covariance matrix implied by the current model
  parameterization.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\item
  \texttt{D} {[} struct {]} - Database with a tseries object filled with
  zeros for each linearised variable, a tseries object filled with ones
  for each log-linearised variables, and a scalar or vector of the
  currently assigned values for each model parameter.
\item
  \texttt{IsDev} {[} \texttt{true} {]} - The second output argument is
  always \texttt{true}, and can be used to set the option
  \texttt{\textquotesingle{}deviation=\textquotesingle{}} in
  \href{model/simulate}{\texttt{model/simulate}}.
\end{itemize}

\paragraph{Description}

\paragraph{Example}


